package com.nuoniu.sibanyun.service.crm;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.crm.CrmQuotedPrice;
import com.nuoniu.sibanyun.entity.crm.CrmQuotedPriceDetails;

import java.util.List;

/**
 * <p>
 * 报价单 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-06-22
 */
public interface ICrmQuotedPriceService extends IService<CrmQuotedPrice> {

    /**
     * 获取报价单列表
     * @author 小啊刚
     * @date 2020/6/23
     */
    Page<CrmQuotedPrice> pageQuotedPrice(Page page, CrmQuotedPrice price);

    /**
     * 保存报价单
     * @author 小啊刚
     * @date 2020/6/24
     */
    void saveQuotedPrice(CrmQuotedPrice price, List<CrmQuotedPriceDetails> priceDetails);
}
